/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "Bus_合同分拆报工照片",TableName = "Bus_合同分拆报工照片",DetailTableCnName = "Bus_合同分拆报工照片")]
    public partial class Bus_合同分拆报工照片:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="guid")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid guid { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="合同分拆报工guid")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       public Guid? 合同分拆报工guid { get; set; }

       /// <summary>
       ///序号
       /// </summary>
       [Display(Name ="序号")]
       [Column(TypeName="bigint")]
       [Editable(true)]
       public long? 序号 { get; set; }

       /// <summary>
       ///文件原名
       /// </summary>
       [Display(Name ="文件原名")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       [Editable(true)]
       public string 文件原名 { get; set; }

       /// <summary>
       ///文件扩展名
       /// </summary>
       [Display(Name ="文件扩展名")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string 文件扩展名 { get; set; }

       /// <summary>
       ///文件大小
       /// </summary>
       [Display(Name ="文件大小")]
       [Column(TypeName="bigint")]
       [Editable(true)]
       public long? 文件大小 { get; set; }

       /// <summary>
       ///文件路径
       /// </summary>
       [Display(Name ="文件路径")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       [Editable(true)]
       public string 文件路径 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="文件数据")]
       [MaxLength(16)]
       [Column(TypeName="image(16)")]
       [Editable(true)]
       public string 文件数据 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CreateID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? CreateID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Creator")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string Creator { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CreateDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreateDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ModifyID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? ModifyID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Modifier")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string Modifier { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ModifyDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ModifyDate { get; set; }

       
    }
}